package com.bolovan.infovaluta.bean;

import com.google.gson.annotations.SerializedName;

public enum ExchangeRateSeller {

	BNR(1,"BNR", "http://www.bnro.ro/nbrfxrates.xml", "RON"),
	BCE(2,"BCE", "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml", "EUR"),
	BCR(3,"BCR", "http://www.bcr.ro/ro/curs-valutar","RON"),
	BT(4, "BT", "http://www.bancatransilvania.ro/curs-valutar-spot/","RON"),
	ING(5,"ING", "https://www.ing.ro/ing/curs-valutar.html?width=330&height=480","RON"),
	BRD(6,"BRD", "https://www.brd.ro/instrumente-utile/curs-valutar-si-dobanzi-de-referinta","RON"),
	RAIFFEISEN(7,"RAIFFEISEN", "http://www.raiffeisen.ro/en/exchange-rate","RON");
	
	@SerializedName("id")
	private Integer id;
	@SerializedName("name")
	private String name;
	@SerializedName("url")
	private String url;
	@SerializedName("baseCurrency")
	private String baseCurrency;

	private ExchangeRateSeller(Integer id, String name, String url, String baseCurrency) {
		this.id = id;
		this.name = name;
		this.url = url;
		this.baseCurrency = baseCurrency;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getBaseCurrency() {
		return baseCurrency;
	}

	public void setBaseCurrency(String baseCurrency) {
		this.baseCurrency = baseCurrency;
	}

}
